  <!-- Wrapper for the radial gradient background -->
  <div id="sidebar">
    <div id="sidebar-wrapper">
      <!-- Sidebar with logo and menu -->
      <h1 id="sidebar-title"><a href="#">海棠猪后台管理系统</a></h1>
      <!-- Logo (221px wide) -->
      <a href="#"><img id="logo" src="__PUBLIC__/admin/images/logo.png" alt="HaiTangZhu Logo" /></a>
      <!-- Sidebar Profile links -->
      <div id="profile-links"> 您好, <a href="#" title="Edit your profile">{$_SESSION['username']}</a>欢迎您使用海棠猪软件<br />
        <br />
        <a href="__APP__" title="View the Site">查看站点</a> | <a href="__APP__/Login/logout" title="Sign Out">退出登陆</a> </div>
      <ul id="main-nav">
        <!-- Accordion Menu -->
        <foreach name="menu" item="vo" key="key">
        		        
	        <li> 
        		<a href="#/" class="nav-top-item <?php if(MODULE_NAME == $vo['action']){echo "current";}?>">{$key}</a>
        		<ul>
        			<foreach name="vo.data" item="val">
		            	<li><a class="<?php if(ACTION_NAME == $val['func'] && MODULE_NAME == $vo['action']){echo "current";}?>" href="__APP__/{$vo.action}/{$val.func}">{$val.info}</a></li>
		            </foreach>
	            </ul>
	        </li>
	        
	    </foreach>
      </ul>
      <!-- End #main-nav -->
    </div>
  </div>
  <!-- End #sidebar -->